linux: Un-__init a couple of kexec vars that are accessed after init time.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 16 May 2007 08:57:29 +0000 (09:57 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 16 May 2007 08:57:29 +0000 (09:57 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c

index 95482ded647c1fe411599e1e954112b63836caa3..9356ccf132a7abb55953c1ef442d9e2c9cb1e249 100644 (file)
@@ -12,8 +12,8 @@ extern void machine_kexec_setup_load_arg(xen_kexec_image_t *xki,
                                         struct kimage *image);
 
 static int __initdata xen_max_nr_phys_cpus;
-static struct resource __initdata xen_hypervisor_res;
-static struct resource __initdata *xen_phys_cpus;
+static struct resource xen_hypervisor_res;
+static struct resource *xen_phys_cpus;
 
 void __init xen_machine_kexec_setup_resources(void)
 {